#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	int a = 10;
	int* p = &a;
	//....
	//....
	p = NULL;

	//...
	//...
	if (p != NULL)
	{
		//....
	}
	return 0;
}